package com.ruoyi.eqmonitor.smdtv.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Arrays;
import lombok.Data;

/**
 * 超图表--山塘
 */
@Data
public class Smdtv5 implements Serializable {
    /**
     * id
     */
    private Integer smid;

    /**
     * 
     */
    private Integer smkey;

    /**
     * 
     */
    private Double smsdriw;

    /**
     * 
     */
    private Double smsdrin;

    /**
     * 
     */
    private Double smsdrie;

    /**
     * 
     */
    private Double smsdris;

    /**
     * 
     */
    private Double smgranule;

    /**
     * 
     */
    private Integer smuserid;

    /**
     * 
     */
    private Long smlibtileid;

    /**
     * 
     */
    private Double smarea;

    /**
     * 
     */
    private Double smperimeter;

    /**
     * 
     */
    private Integer objectid;

    /**
     * 
     */
    private String name;

    /**
     * 
     */
    private String code;

    /**
     * 
     */
    private String city;

    /**
     * 
     */
    private String county;

    /**
     * 
     */
    private Double dmh;

    /**
     * 
     */
    private Double rcarea;

    /**
     * 
     */
    private String bas;

    /**
     * 
     */
    private String landform;

    /**
     * 
     */
    private String town;

    /**
     * 
     */
    private String rnvtm;

    /**
     * 
     */
    private Double tcr;

    /**
     * 
     */
    private String type;

    /**
     * 
     */
    private Double ce;

    /**
     * 
     */
    private Double dfl;

    /**
     * 
     */
    private Double npl;

    /**
     * 
     */
    private Double area;

    /**
     * 
     */
    private Double vol;

    /**
     * 
     */
    private String remark;

    /**
     * 
     */
    private Double shapeLeng;

    /**
     * 
     */
    private Double shapeArea;

    /**
     * 
     */
    private String contdiff;

    /**
     * 
     */
    private String spcl;

    /**
     * 
     */
    private String imp;

    /**
     * 
     */
    private String userFunction;

    /**
     * 
     */
    private String shytype;

    /**
     * 
     */
    private byte[] smgeometry;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Smdtv5 other = (Smdtv5) that;
        return (this.getSmid() == null ? other.getSmid() == null : this.getSmid().equals(other.getSmid()))
            && (this.getSmkey() == null ? other.getSmkey() == null : this.getSmkey().equals(other.getSmkey()))
            && (this.getSmsdriw() == null ? other.getSmsdriw() == null : this.getSmsdriw().equals(other.getSmsdriw()))
            && (this.getSmsdrin() == null ? other.getSmsdrin() == null : this.getSmsdrin().equals(other.getSmsdrin()))
            && (this.getSmsdrie() == null ? other.getSmsdrie() == null : this.getSmsdrie().equals(other.getSmsdrie()))
            && (this.getSmsdris() == null ? other.getSmsdris() == null : this.getSmsdris().equals(other.getSmsdris()))
            && (this.getSmgranule() == null ? other.getSmgranule() == null : this.getSmgranule().equals(other.getSmgranule()))
            && (this.getSmuserid() == null ? other.getSmuserid() == null : this.getSmuserid().equals(other.getSmuserid()))
            && (this.getSmlibtileid() == null ? other.getSmlibtileid() == null : this.getSmlibtileid().equals(other.getSmlibtileid()))
            && (this.getSmarea() == null ? other.getSmarea() == null : this.getSmarea().equals(other.getSmarea()))
            && (this.getSmperimeter() == null ? other.getSmperimeter() == null : this.getSmperimeter().equals(other.getSmperimeter()))
            && (this.getObjectid() == null ? other.getObjectid() == null : this.getObjectid().equals(other.getObjectid()))
            && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
            && (this.getCode() == null ? other.getCode() == null : this.getCode().equals(other.getCode()))
            && (this.getCity() == null ? other.getCity() == null : this.getCity().equals(other.getCity()))
            && (this.getCounty() == null ? other.getCounty() == null : this.getCounty().equals(other.getCounty()))
            && (this.getDmh() == null ? other.getDmh() == null : this.getDmh().equals(other.getDmh()))
            && (this.getRcarea() == null ? other.getRcarea() == null : this.getRcarea().equals(other.getRcarea()))
            && (this.getBas() == null ? other.getBas() == null : this.getBas().equals(other.getBas()))
            && (this.getLandform() == null ? other.getLandform() == null : this.getLandform().equals(other.getLandform()))
            && (this.getTown() == null ? other.getTown() == null : this.getTown().equals(other.getTown()))
            && (this.getRnvtm() == null ? other.getRnvtm() == null : this.getRnvtm().equals(other.getRnvtm()))
            && (this.getTcr() == null ? other.getTcr() == null : this.getTcr().equals(other.getTcr()))
            && (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
            && (this.getCe() == null ? other.getCe() == null : this.getCe().equals(other.getCe()))
            && (this.getDfl() == null ? other.getDfl() == null : this.getDfl().equals(other.getDfl()))
            && (this.getNpl() == null ? other.getNpl() == null : this.getNpl().equals(other.getNpl()))
            && (this.getArea() == null ? other.getArea() == null : this.getArea().equals(other.getArea()))
            && (this.getVol() == null ? other.getVol() == null : this.getVol().equals(other.getVol()))
            && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()))
            && (this.getShapeLeng() == null ? other.getShapeLeng() == null : this.getShapeLeng().equals(other.getShapeLeng()))
            && (this.getShapeArea() == null ? other.getShapeArea() == null : this.getShapeArea().equals(other.getShapeArea()))
            && (this.getContdiff() == null ? other.getContdiff() == null : this.getContdiff().equals(other.getContdiff()))
            && (this.getSpcl() == null ? other.getSpcl() == null : this.getSpcl().equals(other.getSpcl()))
            && (this.getImp() == null ? other.getImp() == null : this.getImp().equals(other.getImp()))
            && (this.getUserFunction() == null ? other.getUserFunction() == null : this.getUserFunction().equals(other.getUserFunction()))
            && (this.getShytype() == null ? other.getShytype() == null : this.getShytype().equals(other.getShytype()))
            && (Arrays.equals(this.getSmgeometry(), other.getSmgeometry()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getSmid() == null) ? 0 : getSmid().hashCode());
        result = prime * result + ((getSmkey() == null) ? 0 : getSmkey().hashCode());
        result = prime * result + ((getSmsdriw() == null) ? 0 : getSmsdriw().hashCode());
        result = prime * result + ((getSmsdrin() == null) ? 0 : getSmsdrin().hashCode());
        result = prime * result + ((getSmsdrie() == null) ? 0 : getSmsdrie().hashCode());
        result = prime * result + ((getSmsdris() == null) ? 0 : getSmsdris().hashCode());
        result = prime * result + ((getSmgranule() == null) ? 0 : getSmgranule().hashCode());
        result = prime * result + ((getSmuserid() == null) ? 0 : getSmuserid().hashCode());
        result = prime * result + ((getSmlibtileid() == null) ? 0 : getSmlibtileid().hashCode());
        result = prime * result + ((getSmarea() == null) ? 0 : getSmarea().hashCode());
        result = prime * result + ((getSmperimeter() == null) ? 0 : getSmperimeter().hashCode());
        result = prime * result + ((getObjectid() == null) ? 0 : getObjectid().hashCode());
        result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
        result = prime * result + ((getCode() == null) ? 0 : getCode().hashCode());
        result = prime * result + ((getCity() == null) ? 0 : getCity().hashCode());
        result = prime * result + ((getCounty() == null) ? 0 : getCounty().hashCode());
        result = prime * result + ((getDmh() == null) ? 0 : getDmh().hashCode());
        result = prime * result + ((getRcarea() == null) ? 0 : getRcarea().hashCode());
        result = prime * result + ((getBas() == null) ? 0 : getBas().hashCode());
        result = prime * result + ((getLandform() == null) ? 0 : getLandform().hashCode());
        result = prime * result + ((getTown() == null) ? 0 : getTown().hashCode());
        result = prime * result + ((getRnvtm() == null) ? 0 : getRnvtm().hashCode());
        result = prime * result + ((getTcr() == null) ? 0 : getTcr().hashCode());
        result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
        result = prime * result + ((getCe() == null) ? 0 : getCe().hashCode());
        result = prime * result + ((getDfl() == null) ? 0 : getDfl().hashCode());
        result = prime * result + ((getNpl() == null) ? 0 : getNpl().hashCode());
        result = prime * result + ((getArea() == null) ? 0 : getArea().hashCode());
        result = prime * result + ((getVol() == null) ? 0 : getVol().hashCode());
        result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
        result = prime * result + ((getShapeLeng() == null) ? 0 : getShapeLeng().hashCode());
        result = prime * result + ((getShapeArea() == null) ? 0 : getShapeArea().hashCode());
        result = prime * result + ((getContdiff() == null) ? 0 : getContdiff().hashCode());
        result = prime * result + ((getSpcl() == null) ? 0 : getSpcl().hashCode());
        result = prime * result + ((getImp() == null) ? 0 : getImp().hashCode());
        result = prime * result + ((getUserFunction() == null) ? 0 : getUserFunction().hashCode());
        result = prime * result + ((getShytype() == null) ? 0 : getShytype().hashCode());
        result = prime * result + (Arrays.hashCode(getSmgeometry()));
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", smid=").append(smid);
        sb.append(", smkey=").append(smkey);
        sb.append(", smsdriw=").append(smsdriw);
        sb.append(", smsdrin=").append(smsdrin);
        sb.append(", smsdrie=").append(smsdrie);
        sb.append(", smsdris=").append(smsdris);
        sb.append(", smgranule=").append(smgranule);
        sb.append(", smuserid=").append(smuserid);
        sb.append(", smlibtileid=").append(smlibtileid);
        sb.append(", smarea=").append(smarea);
        sb.append(", smperimeter=").append(smperimeter);
        sb.append(", objectid=").append(objectid);
        sb.append(", name=").append(name);
        sb.append(", code=").append(code);
        sb.append(", city=").append(city);
        sb.append(", county=").append(county);
        sb.append(", dmh=").append(dmh);
        sb.append(", rcarea=").append(rcarea);
        sb.append(", bas=").append(bas);
        sb.append(", landform=").append(landform);
        sb.append(", town=").append(town);
        sb.append(", rnvtm=").append(rnvtm);
        sb.append(", tcr=").append(tcr);
        sb.append(", type=").append(type);
        sb.append(", ce=").append(ce);
        sb.append(", dfl=").append(dfl);
        sb.append(", npl=").append(npl);
        sb.append(", area=").append(area);
        sb.append(", vol=").append(vol);
        sb.append(", remark=").append(remark);
        sb.append(", shapeLeng=").append(shapeLeng);
        sb.append(", shapeArea=").append(shapeArea);
        sb.append(", contdiff=").append(contdiff);
        sb.append(", spcl=").append(spcl);
        sb.append(", imp=").append(imp);
        sb.append(", userFunction=").append(userFunction);
        sb.append(", shytype=").append(shytype);
        sb.append(", smgeometry=").append(smgeometry);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}